Column

Set the properties of a column in the table.

Child elements

(none)

Parent elements

Case, Columns, ForAll, Function, Loop, Otherwise, SetVariable, Until, While

Attributes

align (optional)

The horizontal alignment of the table cells in this column. Can be overridden in a cell (Td).

left

The table cells are left aligned.

center

The table cells are horizontally centered.

right

The table cells are right aligned.

background-color (text, optional)

All cells in this column have this background color.

minwidth (length, optional, since version 4.13.9)

Minimum width of the column. Argument can be a number (in grid cells) or a length (e.g. 2cm).

padding-left (length, optional, since version 3.1.8)

Set the left padding for the column

padding-right (length, optional, since version 3.1.8)

Set the right padding for the column

valign (optional)

The vertical alignment of the cells in this column. Can be overridden in a cell (Td).

top

The table cells are top aligned.

middle

The table cells are vertically centered.

bottom

The table cells are aligned at the bottom.

width (Number, length or *-numbers, optional)

Width of the column. Argument can be a number (in grid cells) a length (e.g. 2cm), a *-number (e.g. 4*) or the keyword min or max.

Example

See the example at Columns.

See also

The section about Columns in chapter Tables.